package zy.blue7.gui.netty.custom;

import lombok.Builder;

/**
 * @Author: blue7
 * @Date: 2022/2/27 10:16
 * @Version 1.0
 * @Description
 */
@Builder
public class Blue7Message {

    /**
     * 消息头
     */
    private Blue7Header blue7Header;


    /**
     * 消息内容
     */
    private String content;


    public Blue7Message(Blue7Header blue7Header, String content) {
        this.blue7Header = blue7Header;
        this.content = content;
    }

    public Blue7Header getBlue7Header() {
        return blue7Header;
    }

    public void setBlue7Header(Blue7Header blue7Header) {
        this.blue7Header = blue7Header;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "Blue7Message{" +
                "blue7Header=" + blue7Header +
                ", content='" + content + '\'' +
                '}';
    }
}
